package com.echartsdata.Entity;

import com.alibaba.fastjson2.annotation.JSONField;

/**
 * Author: 凉笙℡墨染
 * CreateTime: 2024-09-30
 * 舆论
 */


public class Opinion {
    //json数据格式化
    @JSONField(name = "name",ordinal = 1)
    private String title;
    @JSONField(name = "value",ordinal = 2)
    private Integer count;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "Opinion{" +
                "title='" + title + '\'' +
                ", count=" + count +
                '}';
    }
}
